{include file="common/head"}
<head>
<title>管理后台登录</title>

<style type="text/css">
    html{height: 100%;}
    #top{background: #f7f7f7;border-bottom:1px solid #ccc;font-size: 1.3rem;}
    #top div{color: ;}
    label{color: #00f;}
    #bottom{text-align: center;}

</style>
</head>
<body style="background-imagex: linear-gradient(#f90, #fff);max-width: 600px;margin:auto;">
    <div class="container p-5 my-2" style="margin: 0;auto;max-width: 600px;"  >

    <div id="top" class="text-center row text-primary" >
      <div class="col-12">{$sys.sys_name}</div>
    </div>    
    <br/><br/>
        <br/>

    <form method="post" action="" class="d-grid">
         <div class="text-center" style="color:#00f;">管理后台登录</div>
      <div class="mb-3 mt-3">
        <label for="account" class="form-label">账号:</label>
        <input type="text" class="form-control" id="account" placeholder="Enter Account" name="account">
      </div>
      <div class="mb-3">
        <label for="pwd" class="form-label">密码:</label>
        <input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
      </div>


      <div class="mb-3" style="position: relative;">
        <label class="form-check-label">验证码:</label>
        <div class="input-group">
            <input class="form-control" type="text" id="verify" name="verify" /> 
            <img src="/index.php/login/verify" id="validate" onclick="verifyReload();" style="margin:1px 0;border-radius: 4px;" />
        </div>
      </div>

      <button  type="submit" class="btn btn-primary btn-block" onclick="return dologin()">登录</button>
      <div style="height:10px;"></div>

    </form>

    <div class="app_download" style="margin-top:30px;text-align: center;">
        <img src="/upload/logo.png" style="width: 100px;" >
        <div></div>
    </div>  

    <div id="bottom">
        版权所有：xjpa666.cn
        <c class="text-info">{$sys.copy_right}</c> 
        <a href="https://beian.miit.gov.cn/">浙ICP备2023021152号-1</a>  
        技术支持：浙江万溢信息科技有限公司
    </div>

    </div>

<script type="text/javascript">
    $(document).ready(function(){
        verifyReload();

})

    function verifyReload(){
        validate = document.getElementById('validate');
        validate.src = "";
        validate.src = "/index.php/login/verify/temp/"+new Date().getTime().toString(36);
    }

</script>


</body>
</html>
